bf1e802af5de91d864a095fd16c2f8c6a1bf357e,src/com/joshdholtz/sentry/Sentry.java,SentryUncaughtExceptionHandler,uncaughtException,#Thread#Throwable#,384

Before Change


		public void uncaughtException(Thread thread, Throwable e) {
			// Here you should have a more robust, permanent record of problems
			SentryEventBuilder eventBuilder = new SentryEventBuilder(e, SentryEventBuilder.SentryEventLevel.FATAL);
			InternalStorage.getInstance().addRequest(new SentryEventRequest(eventBuilder));

			//call original handler  
			defaultExceptionHandler.uncaughtException(thread, e);  

After Change


			SentryEventBuilder builder = new SentryEventBuilder(e, SentryEventBuilder.SentryEventLevel.FATAL);
			builder = Sentry.getInstance().captureListener.beforeCapture(builder);
				
			if (builder != null) {
				InternalStorage.getInstance().addRequest(new SentryEventRequest(builder));
			} else {
				Log.e(Sentry.TAG, "SentryEventBuilder in uncaughtException is null");
			}